package io.renren.modules.avanotes.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 同义词表
 *
 * @author zzr
 * @email 529742454@qq.com
 * @date 2022-02-16 21:23:04
 */
@Data
@TableName("synonym_tokens")
public class SynonymTokensEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static String CN_ID = "id";
    public static String CN_CODE = "code";
    public static String CN_TOKENS = "tokens";

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 编码
     */
    private String code;
    /**
     * 同义词们
     */
    private String tokens;

    public SynonymTokensEntity() {
    }

    public SynonymTokensEntity(String code, String tokens) {
        this.code = code;
        this.tokens = tokens;
    }
}
